TS failed at "Capture User State"
Hi,
I have this error below although the task marked successfull in RAP and nothing happen :
Capture User State State Capture 11135 The task sequence execution engine failed executing an action
April 20th, 2011 3:25am
are you migrating from xp to xp or xp to windows 7 ? what does your Scanstate.log and
Scanstateprogress.log reveal ?
make sure (if migrating to windows 7) that you have the SP2version (supports windows 7) configmgr client package from definition installed on your client before attempting to run a capture task
cheers
niall
My step by step
SCCM Guides
I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2011 4:06am
Thanks for reply,
Yes i want to migrate XP to Windows 7 with SCCM 2007 R2 SP2 and USMT 4.0 for x86 platform
Logs below with Trace32
Scanstate.log :
2011-04-19 17:11:43, Info [0x000000] USMT Started at 2011/04/19:17:11:43.643
2011-04-19 17:11:43, Info [0x000000] Command line: \\SERVER.XXX.XXX\SMSPKGG$\WDM00015\scanstate.exe \\SERVER.XXX.XXX\SMPSTOREH_567AC34B$\454724B19515D6DB1E87D535F8BD7C4B9AAC806FD980B28278E9FF450EF80910
/o /localonly /encrypt /key:**** /c /efs:skip /all /v:5 /l:C:\WINDOWS\system32\CCM\Logs\SMSTSLog\scanstate.log /progress:C:\WINDOWS\system32\CCM\Logs\SMSTSLog\scanstateprogress.log /i:\\SERVER.XXX.XXX\SMSPKGG$\WDM00015\x86\miguser.xml /i:\\SERVER.XXX.XXX\SMSPKGG$\WDM00015\x86\migapp.xml
2011-04-19 17:11:43, Status [0x000000] Activity: 'MIGACTIVITY_COMMAND_LINE_PROCESSING'
2011-04-19 17:11:43, Error [0x000000] Script file is not present: '\\SERVER.XXX.XXX\SMSPKGG$\WDM00015\x86\miguser.xml'[gle=0x00000006]
2011-04-19 17:11:43, Info [0x000000] Failed.[gle=0x00000006]
2011-04-19 17:11:43, Info [0x000000] An error occurred processing the command line.
Unable to find a script file specified by /i[gle=0x00000006]
2011-04-19 17:11:43, Info [0x000000] USMT Completed at 2011/04/19:17:11:43.674[gle=0x00000006]
2011-04-19 17:11:43, Info [0x000000] Entering MigShutdown method
2011-04-19 17:11:43, Info [0x000000] Leaving MigShutdown method
Scanstateprogress.log
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "Start Menu", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "Favorites", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "My Pictures", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "My Documents", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "Microsoft Office 2007\Microsoft Office Word 2007", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "Microsoft Office 2007\Microsoft Office Publisher 2007", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "Microsoft Office 2007\Microsoft Office Excel 2007", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "Microsoft Office 2007\Office 2007 Common Settings", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "Microsoft Office 2007\Microsoft Office Outlook 2007", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "Microsoft Office 2007\Microsoft Office PowerPoint 2007", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "Microsoft Office 2007\Microsoft Office Access 2007", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "Desktop", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, forUser, TEST-MIGRATION\Administrateur, detectedComponent, "Quick Launch", includedInMigration, Yes
19 Apr 2011, 12:19:52 +02:00, 00:00:04, totalSizeInMBToTransfer, 3.08
19 Apr 2011, 12:19:52 +02:00, 00:00:04, PHASE, Collecting
19 Apr 2011, 12:19:52 +02:00, 00:00:04, processingUser, TEST-MIGRATION\Administrateur
19 Apr 2011, 12:19:52 +02:00, 00:00:04, totalPercentageCompleted, 1
19 Apr 2011, 12:19:57 +02:00, 00:00:08, PHASE, Saving
19 Apr 2011, 12:19:57 +02:00, 00:00:08, totalPercentageCompleted, 100
19 Apr 2011, 12:19:57 +02:00, 00:00:08, errorCode, 0, numberOfIgnoredErrors, 0, message, "Successful run"
Regards,
April 20th, 2011 4:43am
[0x000000] Script file is not present: '\\SERVER.XXX.XXX\SMSPKGG$\WDM00015\x86\miguser.xml'[gle=0x00000006]
Update USMT package on respective distribution point. try then...lets see if it works..
Regards, Sachin
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2011 6:49am
verify that this file exists MIGUSER.XML in your usmt4 package, if not create it and try again
] Script file is not present: '\\SERVER.XXX.XXX\SMSPKGG$\WDM00015\x86\miguser.xml
My step by step
SCCM Guides
I'm on Twitter > ncbrady
April 20th, 2011 7:56am
I created a folder named x86 in \\SERVER.XXX.XXX\SMSPKGG$\WDM00015 I copied all file from it to the new folder and i have no error in
Scanstate.log but it display an error 0x80004005
on workstation during the task processing
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2011 8:36am
I'm following steps : http://blogs.technet.com/b/smsandmom/archive/2008/10/23/configmgr-2007-osd-task-sequence-fails-with-the-error-an-error-occurred-while-retrieving-policy-for-this-computer-0x80004005.aspx and let you know about that
April 20th, 2011 8:49am
you shouldn't edit the packages directly, only change the source package, anyway, what package is your WDM00015 package is it your USMT 4 package ? if so what's in it ?
can you paste the actual errors you are seeing now
My step by step
SCCM Guides
I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2011 9:34am
The task is running now within only save, osd and restore data i hope there is no errors during the task...
11
Restart in Windows PE
Install Operating System
11134
The task sequence execution engine successfully completed an action
11142
The task sequence execution engine performed a system reboot initiated by an action
11140
The task sequence execution engine started execution of a task sequence
After this test i will edit this task to integer office 2010 and others tools like 7zip, adobe reader, etc...if all work fine i will migrate all workstation (about 250)
April 20th, 2011 10:53am
The task has been completed without error but there is any data restored although the Restore step in task sequence has been filled :(
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2011 11:54am
so what does your loadstate.log file say ?
My step by step
SCCM Guides
I'm on Twitter > ncbrady
April 20th, 2011 12:26pm
I have no loadstate.log on client or server, i searched in
\CCM\Logs\SMSTSLog\loadstate.log but there is no "SMSTSLog" folder in CCM\Logs\
Free Windows Admin Tool Kit Click here and download it now
April 21st, 2011 5:01am
I found a log named smsts-20110420-174736 maybe it's a good log because there is a restore section failed :
Failed to find client signing certificate. Code 0x80092004 OSDSMPClient 20/04/2011 17:47:36 1828 (0x0724)
ClientRequestToSMP::DoRequest failed. error = (0x80092004). OSDSMPClient 20/04/2011 17:47:36 1828 (0x0724)
Request to SMP 'XXX.XXX.XXX' failed with error (Code 0x80092004). Trying next SMP. OSDSMPClient 20/04/2011 17:47:36 1828 (0x0724)
Failed to find an SMP that can serve request after trying 4 attempts. OSDSMPClient 20/04/2011 17:47:36 1828 (0x0724)
ExecuteRestoreRequestToSMP failed (0x80004005). OSDSMPClient 20/04/2011 17:47:36 1828 (0x0724)
ExecuteRestoreRequest failed (0x80004005). OSDSMPClient 20/04/2011 17:47:36 1828 (0x0724)
Failed to run the action: Request User State Storage.
Unknown error (Error: 00004005; Source: Unknown) TSManager 20/04/2011 17:47:36 1368 (0x0558)
April 21st, 2011 5:22am
I think i must apply hotfix KB977203 during TS :
Setup windows and ConfigMgr\In the Installation properties box
PATCH="%_SMSTSMDataPath%\OSD\<var><Package_ID></var>\i386\hotfix\KB977203\SCCM2007AC-SP2-KB977203-x86.msp"
So could i put this in installation properties :
FSP=MAGE SMSSLP=MAGE MP=MAGE
PATCH="%_SMSTSMDataPath%\OSD\<var><Package_ID></var>\i386\hotfix\KB977203\SCCM2007AC-SP2-KB977203-x86.msp"
Free Windows Admin Tool Kit Click here and download it now
April 21st, 2011 6:04am
try like so
PATCH="%_SMSTSMDataPath%\OSD\PACKAGEID\i386\hotfix\KB977384\sccm2007ac-sp2-kb977384-x86-enu.msp"
replace PACKAGEID with the PackageID of your client from definition package
My step by step
SCCM Guides
I'm on Twitter > ncbrady
April 21st, 2011 6:35am
Also could you explain me why rap list is still empty althought the advertisement schedule has configured ?
Free Windows Admin Tool Kit Click here and download it now
April 27th, 2011 7:55am
To come back to the main topic, so i have configured with the path in client properties but it can't be installed and when i'm checking logs i have just this :
11135
The task sequence execution engine failed executing an action
16389
April 27th, 2011 9:48am
you need to provide more info than that, can you paste the actual error further up in the smsts.log ?
My step by step
SCCM Guides
I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
April 27th, 2011 9:54am
I don't have logs on client/workstation because it can't be installed
April 27th, 2011 10:35am
Also could we avoid delay to appears in RAP within schedule parameters ?
Free Windows Admin Tool Kit Click here and download it now
April 27th, 2011 11:35am
I have any advertisement in RAP to continue my tests, which logs concern that ?
April 28th, 2011 5:42am
have created a new collection and set it in my advertisement and now it's ok, i can see advertisement on my test workstation
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2011 8:53am
I have still the same error :
Failed to find client signing certificate. Code 0x80092004 OSDSMPClient 03/05/2011 12:29:50 2148 (0x0864)
ClientRequestToSMP::DoRequest failed. error = (0x80092004). OSDSMPClient 03/05/2011 12:29:50 2148 (0x0864)
Request to SMP 'XXX.XXX.XXX' failed with error (Code 0x80092004). Trying next SMP. OSDSMPClient 03/05/2011 12:29:50 2148 (0x0864)
May 3rd, 2011 8:33am
you must run the KB977203 hotfix on the computer, and also run ccmcertfix.exe which comes with the hotfix, before runing the usmt stuffMichael Petersen http://blog.coretech.dk/mip/
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2011 9:33am
I have put this below in installation properties of SetupConfigMgr in TS, the task is running and i hope restore data will work fine :
PATCH="%_SMSTSMDataPath%\OSD\XXX00007\i386\hotfix\KB977203\SCCM2007AC-SP2-KB977203-x86.msp" FSP=XXX SMSSLP=XXX
I will let you know about results thanks
May 3rd, 2011 11:27am
No it didn't work and skipped all post software installation, i'm checking log to see what happened exactly, but i have a question :
How to separate strings between PATCH, FSP and SMSSLP in installation properties ? maybe that's why it didn't work....
Edit : I checked log and i have found this :
Installing version 4.00.6487.2000 of the client with product code {2609EDF1-34C4-4B03-B634-55F3B3BC4931} ccmsetup 03/05/2011 17:45:38 1488 (0x05D0)
MSI PROPERTIES are INSTALL="ALL" PATCH="C:\_SMSTaskSequence\OSD\WDM00007\i386\hotfix\KB977203\SCCM2007AC-SP2-KB977203-x86.msp" FSP="XXX" SMSSLP="XXX" SMSPROVISIONINGMODE="1" SMSSITECODE="XXX" CCMHTTPPORT="80" CCMHTTPSPORT="443" CCMHTTPSSTATE="0" CCMCERTSTORE="MY"
CCMFIRSTCERT="0" SMSPUBLICROOTKEY=0602000000A4000052534131000400000100010063EB1775F3C742D7E3DA07D9F56FA127CFDC2886014E9DF8543BBE47E4A3673D8DB8D65E127414B627137C01731FD366FA46F0FE89F676CD80ABEDC389D7EED1A82377BFF44DD44D450FFDE65FA42A5B0F91F185ADD107D5B329BE5071654C9B5466D30988425E126C7014F7155EA4DEBD70E01C08E43A2BFA68FD0CA7FA2197
INSTALL=ALL ccmsetup 03/05/2011 17:45:38 1488 (0x05D0)
IsFileMicrosoftTrusted Verified file 'D:\WINDOWS\ccmsetup\{4CD82FBB-0AFC-4864-A089-15364DF5F14B}\client.msi' is MS signed. ccmsetup 03/05/2011 17:45:38 1488 (0x05D0)
Running installation package
Package: D:\WINDOWS\ccmsetup\{4CD82FBB-0AFC-4864-A089-15364DF5F14B}\client.msi
Log: D:\WINDOWS\ccmsetup\client.msi.log
Properties: INSTALL="ALL" PATCH="C:\_SMSTaskSequence\OSD\WDM00007\i386\hotfix\KB977203\SCCM2007AC-SP2-KB977203-x86.msp" FSP="XXX" SMSSLP="XXX" SMSPROVISIONINGMODE="1" SMSSITECODE="XXX" CCMHTTPPORT="80" CCMHTTPSPORT="443" CCMHTTPSSTATE="0"
CCMCERTSTORE="MY" CCMFIRSTCERT="0" SMSPUBLICROOTKEY=0602000000A4000052534131000400000100010063EB1775F3C742D7E3DA07D9F56FA127CFDC2886014E9DF8543BBE47E4A3673D8DB8D65E127414B627137C01731FD366FA46F0FE89F676CD80ABEDC389D7EED1A82377BFF44DD44D450FFDE65FA42A5B0F91F185ADD107D5B329BE5071654C9B5466D30988425E126C7014F7155EA4DEBD70E01C08E43A2BFA68FD0CA7FA2197
INSTALL=ALL ccmsetup 03/05/2011 17:45:38 1488 (0x05D0)
Installation failed with error code 1635 ccmsetup 03/05/2011 17:45:41 1488 (0x05D0)
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2011 11:54am
When i set parameters below in installation properties of configmgr, the configmgr can't be installed and i haven't log about Task sequence status in my test workstation
FSP="XXX" SMSSLP="XXX" PATCH="%_SMSTSMDataPath%\OSD\WDM00007\i386\hotfix\KB977384\SCCM2007AC-SP2-KB977384-x86-enu.msp" PATCH="%_SMSTSMDataPath%\OSD\WDM00007\i386\hotfix\KB977203\SCCM2007AC-SP2-KB977203-x86.msp"
WDM00007 is the package ID of my configmgr client :
I have noticed also patch KB977384 is not present in the share folder \\XXX\SMS_WDM\CLIENT\I386\HOTFIX although the package has been installed, while KB977203 is present...
Could you help me please ?
May 6th, 2011 6:20am
Ok i have done a deployment XP to 7 with data restoration successfully but OS win7 has installed on D:\, i need it on C:\
Have you an idea about that
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2011 6:12am
Then you installed the install,win from the source files... that wil not work, you will have to create an image of the source files, and then deploy that imageMichael Petersen http://blog.coretech.dk/mip/
May 12th, 2011 6:35am
Thanks for your reply, so i must sysprep a workstation ?
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2011 6:46am
Could i use this method ? :
http://www.howtogeek.com/howto/4241/how-to-create-a-system-image-in-windows-7/
May 12th, 2011 6:52am
yes, or create a build and caprure TSMichael Petersen http://blog.coretech.dk/mip/
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2011 6:52am
try an look trough niall's guids
http://www.windows-noob.com/forums/index.php?/topic/1064-sccm-2007-guides/Michael Petersen http://blog.coretech.dk/mip/
May 12th, 2011 7:21am
In TS i can't select a sysprep package in system preparation it's in grey :O
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2011 8:04am
I have already done that : http://www.windows-noob.com/forums/index.php?/topic/667-deploy-windows-7/
May 12th, 2011 8:32am